package cn.edu.cdcas.mapper;

import cn.edu.cdcas.entity.Student;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface StudentMapper {

    Student queryByStudentNo(@Param("studentNo") String studentNo, @Param("schoolNo") String schoolNo);

    Student getById(@Param("id") Integer id);

    void update(@Param("student") Student student);

    void updateTime(@Param("student") Student student);

    void updateLoginState(@Param("student") Student student);

    void delete(@Param("id") Integer id);

    void save();

}
